package com.aptech.jboa.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Email entity. @author MyEclipse Persistence Tools
 */

public class Email  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Userinfo userinfoByFromUserinfoId;
     private Userinfo userinfoByToUserinfOid;
     private String title;
     private Date cteatetime;
     private String status;
     private String content;
     private Set accessoryfiles = new HashSet(0);


    // Constructors

    /** default constructor */
    public Email() {
    }

    
    /** full constructor */
    public Email(Userinfo userinfoByFromUserinfoId, Userinfo userinfoByToUserinfOid, String title, Date cteatetime, String status, String content, Set accessoryfiles) {
        this.userinfoByFromUserinfoId = userinfoByFromUserinfoId;
        this.userinfoByToUserinfOid = userinfoByToUserinfOid;
        this.title = title;
        this.cteatetime = cteatetime;
        this.status = status;
        this.content = content;
        this.accessoryfiles = accessoryfiles;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfoByFromUserinfoId() {
        return this.userinfoByFromUserinfoId;
    }
    
    public void setUserinfoByFromUserinfoId(Userinfo userinfoByFromUserinfoId) {
        this.userinfoByFromUserinfoId = userinfoByFromUserinfoId;
    }

    public Userinfo getUserinfoByToUserinfOid() {
        return this.userinfoByToUserinfOid;
    }
    
    public void setUserinfoByToUserinfOid(Userinfo userinfoByToUserinfOid) {
        this.userinfoByToUserinfOid = userinfoByToUserinfOid;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCteatetime() {
        return this.cteatetime;
    }
    
    public void setCteatetime(Date cteatetime) {
        this.cteatetime = cteatetime;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Set getAccessoryfiles() {
        return this.accessoryfiles;
    }
    
    public void setAccessoryfiles(Set accessoryfiles) {
        this.accessoryfiles = accessoryfiles;
    }
   








}